<form id="searchForm" method="post" action="#" >
<div class="portlet box grey">
	<div class="portlet-title">
		<h4><i class="icon-reorder"></i>Cari Laporan</h4>
	</div>
<div class="portlet-body">
<div class="clearfix">
	<div class="row-fluid">
		<div class="span12">
			<div class="controls">
				<label class="control-label">Propinsi</label> 
				<select class="span12 chosen" name="Propinsi.id" id="propinsi">
					<option value="-1" selected="selected" >--Semua--</option>
							<?php 
								foreach ($propinsis as $propinsi){
									echo '<option value="'.$propinsi->getId().'" >'.$propinsi->getNama().'</option>';
								}
							?>
				</select>				
			</div>			
		</div>					
			<!--
		<div class="span12">
			<div class="dataTables_filter">
				<label>
					<select name="sample_1_length" size="1" aria-controls="sample_1" class="m-wrap xsmall">
						<option value="10">10</option>
						<option value="25">20</option>
						<option value="50">50</option>
						<!--<option value="-1">All</option>
					</select> records per page </label>
			</div>
		</div>-->
	</div>

	<div class="row-fluid">
		<div class="span12">
			<div class="controls">
				<label class="control-label">Kab/Kota</label> 
				<select class="span12 chosen" name="Distrik.id" id="distrik">
					<option value="-1" selected="selected" >--Semua--</option>
							<?php 
								foreach ($distriks as $distrik){
									echo '<option value="'.$distrik->getId().'" >'.$distrik->getNama().'</option>';
								}
							?>
				</select>				
			</div>			
		</div>					
			
		<!--<div class="span3">
			<div class="dataTables_filter">
				<label>
					<select name="sample_1_length" size="1" aria-controls="sample_1" class="m-wrap xsmall">
						<option value="10">10</option>
						<option value="25">20</option>
						<option value="50">50</option>
						<!--<option value="-1">All</option>
					</select> records per page </label>
			</div>
		</div>-->
	</div>
	<div class="row-fluid">
		<div class="span12">
			<div class="control-group" >
				<div class="controls">
						<label class="control-label">Desa</label> 
						<select class="span12 chosen" name="Distrik.id" id="desa">
							<option value="-1" selected="selected" >--Semua--</option>
							<?php 
							/*	foreach ($distriks as $distrik){
									echo '<option value="'.$distrik->getId().'" >'.$distrik->getNama().'</option>';
								}*/
							?>
						</select>				
				</div>
				
				
			</div>				
		</div>
		<!--
		<div class="span6">
			<div class="control-group" >
				<div class="controls">
						<!--<a class="btn green" style="padding: 5px 12px;vertical-align: top" href="'.base_url().'"><i class="icon-refresh m-icon-white"></i></a>
				</div>
			</div>				
		</div>						
		
		<div class="span3">
			
		</div>
		-->
	</div>
	<div class="row-fluid">
		<div class="span12">
			<div class="controls">
				<label class="control-label">Jenis Laporan</label> 
				<select class="span12 chosen" name="Berkas.tipe" id="tipeBerkas">
					<option value="-1" selected="selected" >--Semua--</option>
							<?php 
								foreach ($berkasTypes as $berkasType){
									echo '<option value="'.$berkasType->getId().'" >'.$berkasType->getNama().'</option>';
								} 
							?>
				</select>			
			</div>			
		</div>	
	</div>
	<div class="row-fluid">
		<div class="span12">
			<div class="controls">
				<label class="control-label">Rincian Laporan</label> 
				<select class="span12 chosen" name="rincianLaporan" id="rincianLaporan">
					<option value="-1" selected="selected" >--Semua--</option>
							<?php 
							/*	foreach ($distriks as $distrik){
									echo '<option value="'.$distrik->getId().'" >'.$distrik->getNama().'</option>';
								} */
							?>
				</select>
				<!--<a class="btn green" style="padding: 5px 12px;vertical-align: top" id="btnCari"><i class="icon-search m-icon-white"></i></a>-->

			</div>			
		</div>	
	</div>
	<div class="row-fluid">
		<div class="span6">
			<label class="control-label"> </label> 
				<a class="btn green" id="btnCari">Cari Laporan&nbsp;<i class="icon-search m-icon-white"></i></a>				
		</div></form>
		<div class="span6">
			<label class="control-label"> </label>
			<form method="post" action="<?php echo base_url("report/exportExcelByFilter"); ?>">
			<input type="hidden" name="Fpropinsi" value="" />
			<input type="hidden" name="Fdistrik" value="" />
			<input type="hidden" name="Fdesa" value="" />
			<input type="hidden" name="FtipeBerkas" value="" />
			<input type="hidden" name="FrincianLaporan" value="" />
			<button style="display: none;" type="submit" class="btn blue" id="btnExportToExcel">Export to Excel&nbsp;&nbsp;<i class="icon-table m-icon-white"></i></button>
			</form>
		</div>
	</div>
</div>
</div></div>

